package com.itheima.domain;
import java.io.Serializable;
public class User implements Serializable {
    private String id;       //用户id
    private String name;      //用户名称
    private String password;  //用户密码
    private String email;     //用户邮箱（用户账号）
    private String role;      //用户角色
    private String status;    //用户状态
    private String hiredate;  //入职时间
    private String departuredate;//离职时间


    public User() {
    }

    public User(String id, String name, String password, String email, String role, String status, String hiredate, String departuredate) {
        this.id = id;
        this.name = name;
        this.password = password;
        this.email = email;
        this.role = role;
        this.status = status;
        this.hiredate = hiredate;
        this.departuredate = departuredate;
    }

    /**
     * 获取
     * @return id
     */
    public String getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return password
     */
    public String getPassword() {
        return password;
    }

    /**
     * 设置
     * @param password
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * 获取
     * @return email
     */
    public String getEmail() {
        return email;
    }

    /**
     * 设置
     * @param email
     */
    public void setEmail(String email) {
        this.email = email;
    }

    /**
     * 获取
     * @return role
     */
    public String getRole() {
        return role;
    }

    /**
     * 设置
     * @param role
     */
    public void setRole(String role) {
        this.role = role;
    }

    /**
     * 获取
     * @return status
     */
    public String getStatus() {
        return status;
    }

    /**
     * 设置
     * @param status
     */
    public void setStatus(String status) {
        this.status = status;
    }

    /**
     * 获取
     * @return hiredate
     */
    public String getHiredate() {
        return hiredate;
    }

    /**
     * 设置
     * @param hiredate
     */
    public void setHiredate(String hiredate) {
        this.hiredate = hiredate;
    }

    /**
     * 获取
     * @return departuredate
     */
    public String getDeparturedate() {
        return departuredate;
    }

    /**
     * 设置
     * @param departuredate
     */
    public void setDeparturedate(String departuredate) {
        this.departuredate = departuredate;
    }

    public String toString() {
        return "User{id = " + id + ", name = " + name + ", password = " + password + ", email = " + email + ", role = " + role + ", status = " + status + ", hiredate = " + hiredate + ", departuredate = " + departuredate + "}";
    }
}
